package com.m2bshop.shop.service.TransactionService;



import com.m2bshop.shop.pojo.Transaction;

import java.util.List;

public interface TransactionService {
    List<Transaction> getAllTransaction(int userid, int page ,int pageSize);//获取全部交易信息
    void insertNewTransaction(double money,String type,int userid);//增加交易信息
    List<Transaction> getTransaction(int userid);//搜索交易信息
    List<Transaction> adminGetAll(int page,int pageSize);
}
